<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <GlobalHeader/>
      </a-layout-header>
      <a-layout-content class="content">
        <!-- 路由跳转-->
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="https://www.antdv.com/components/layout-cn" target="_blank">
          智能云图库 by hebau-吝江月
        </a>
      </a-layout-footer>
    </a-layout>
  </div>

</template>

<script setup lang="ts">
import GlobalHeader from "@/components/GlobalHeader.vue";
</script>



<style scoped>

.header {
  padding-inline: 20px;
  margin-bottom: 16px;
  color: unset;
  background: white;
}

.content {
  padding: 20px;
  /*渐变颜色从左到右*/
  background: linear-gradient(to right, #efefef, #fff);
  margin-bottom: 28px;
}

.footer {
    background: #efefef;
    padding: 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
  }


</style>

